<page-header [title]="'违章查询'">
  <!--<ng-template #breadcrumb>-->
    <!--<nz-breadcrumb>-->
      <!--<nz-breadcrumb-item>基本信息</nz-breadcrumb-item>-->
      <!--&lt;!&ndash;<nz-breadcrumb-item><a [routerLink]="['/prod/product']">产品资料</a></nz-breadcrumb-item>&ndash;&gt;-->
    <!--</nz-breadcrumb>-->
  <!--</ng-template>-->
  <!--<ng-template #tab>-->
    <!--<nz-tabset [nzSize]="'default'" [nzTabBarExtraContent]="extraTemplate">-->
      <!--<nz-tab nzTitle="基本信息" (nzSelect)="changeTab(0)"></nz-tab>-->
      <!--&lt;!&ndash;<nz-tab nzTitle="文件信息" (nzSelect)="changeTab(1)"></nz-tab>&ndash;&gt;-->
      <!--&lt;!&ndash;<nz-tab nzTitle="其他" (nzSelect)="changeTab(2)"></nz-tab>&ndash;&gt;-->
    <!--</nz-tabset>-->
  <!--</ng-template>-->
  <ng-template #action><button nz-button (click)="back()"style="float: right"><i class="anticon anticon-rollback" style="font-size: 14px"></i>返回列表</button></ng-template>

  <!--<ng-template #extraTemplate>-->
    <!--<button nz-button (click)="back()"><i class="anticon anticon-rollback"></i>返回列表</button>-->
  <!--</ng-template>-->
</page-header>
<nz-spin [nzSpinning]="loading">
  <nz-row [nzGutter]="24">
    <nz-col [nzSpan]="24">
      <nz-card nzTitle="违章查询输入 " >

        <nz-form-item>

        <nz-form-label nzSpan="3" >车牌号全部</nz-form-label>
              <nz-form-control nzSpan="8">
                <input nz-input required [(ngModel)]="product.lsnum" name="lsnum">
              </nz-form-control>

        <!--</nz-form-item>-->
        <!--<nz-form-item>-->

        <nz-form-label nzSpan="3" >车架号后六位</nz-form-label>
              <nz-form-control nzSpan="8">
                <input nz-input  required [(ngModel)]="product.frameno" name="frameno">
              </nz-form-control>

        <!--</nz-form-item>-->
        <!--<nz-form-item>-->

        <nz-form-label nzSpan="3" >发动机号后六位</nz-form-label>
              <nz-form-control nzSpan="8">
                <input nz-input  required [(ngModel)]="product.engineno" name="engineno">
              </nz-form-control>

          <!--<nz-form-label nzSpan="3" nzRequired>车辆类型</nz-form-label>-->
              <!--<nz-form-control nzSpan="9">-->
                <!--<input nz-input required [(ngModel)]="product.cartype" name="cartype">-->
              <!--</nz-form-control>-->
            <!--</nz-form-item>-->
        <!--<nz-form-item>-->
          <nz-form-label nzSpan="3" >服务器</nz-form-label>
          <nz-form-control nzSpan="3">
            <nz-select style=""  [(ngModel)]="product.fkname" name="fkname" nzAllowClear nzShowSearch [nzPlaceHolder]="'请选择'">
              <nz-option [nzLabel]="fkname.text" [nzValue]="fkname.value" *ngFor="let fkname of fknames"></nz-option>
            </nz-select>
          </nz-form-control>
          <nz-form-control nzSpan="5">
            <button nz-button type="primary" nzType="primary" (click)="wzquery()">违章查询</button>
          </nz-form-control>

        </nz-form-item>
      </nz-card>
        <nz-card nzTitle="违章查询结果 " >
          <nz-form-item>
            <nz-form-label nzSpan="4"  align="left"  >查询结果</nz-form-label>          <nz-form-control nzSpan="6">
            {{resultdetail.cph}} {{resulthead.msg}}</nz-form-control>
            <nz-form-label nzSpan="4" align="left" >违章次数</nz-form-label> <nz-form-control nzSpan="6" ><span style="color: red">{{resultdetail.wzts}}</span></nz-form-control>
          </nz-form-item>
            <nz-form-item>
            <nz-form-label nzSpan="4" align="left" >总扣分</nz-form-label> <nz-form-control nzSpan="6">{{resultdetail.wzjfhj}}</nz-form-control>
              <nz-form-label nzSpan="4" align="left" >总罚款</nz-form-label> <nz-form-control nzSpan="6">{{resultdetail.wzfkhj}}</nz-form-control>
            </nz-form-item>
        <simple-table #st
                      [columns]="column"
                      [data]="wzdata"
                      [resReName]="{ total: '10000', list: 'data'}"
                      toTopInChange
                      [showTotal]="false"
                      [scroll]="{  x: '1300px' }"
                      [showSizeChanger]="false"
                      [showPagination]="false">

        </simple-table>

      </nz-card>

    </nz-col>
    <!--<nz-col [nzSpan]="9">-->
      <!--<iframe src="http://gacljtfk.fjgat.gov.cn:8081/123/fuwu/pages/loginVeh.jsp?from=singlemessage&isappinstalled=0"  width="460px"  height="700px"></iframe>-->
    <!--</nz-col>-->
  </nz-row>

  <!--<footer-toolbar errorCollect>-->
  <!--</footer-toolbar>-->
